package com.bit.book.map;

import com.bit.book.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
public interface UserinfoMapper {
    @Select("select id,user_name,password,delete_flag,create_time,update_time"
            + " from user_info where delete_flag=0 and user_name=#{name}")
    public UserInfo querUserByName(String name);
}
